package com.ruoyi.business.service;

import com.ruoyi.business.domain.TiffSeg;
import com.ruoyi.common.core.domain.AjaxResult;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ITiffSegService {

    List<TiffSeg> selectTiffList(TiffSeg tiffSeg);

    TiffSeg selectTiffById(Long id);

    boolean insertTiff(TiffSeg tiffSeg);

    boolean updateTiff(TiffSeg tiffSeg);

    boolean updateStatus(String status, Long id);

    boolean deleteTiffById(Long id);

    boolean deleteTiffByIds(List<Long> array);

    AjaxResult uploadFile(MultipartFile file);

    AjaxResult downloadTiff(Long id);

    AjaxResult createShareUrl(Long id, Long userId);

    AjaxResult previewTiff(Long id);

    AjaxResult validPassword(String validPassword);

    AjaxResult beginSeg(Long id);

}


